import { memo , useEffect } from "react";

import HHotAlbum from "./components/hot-album";
import HTopAlbum from "./components/top-album";

import {AlbumWrapped } from "./style";

import request from "network";

export default memo(
  function HAlbum (){
    useEffect(
     async ()=>{
        const {data:res } = await request.get("/banner");
        console.log(res);
      }
    )
    return (
      <AlbumWrapped className={"wrap-v2"}>
        <HHotAlbum></HHotAlbum>
        <HTopAlbum></HTopAlbum>
      </AlbumWrapped>
    )
  }
)
